02. Build Your Project

Build Your Project

For this project, you will be creating your own apartment scene based on 3D models provided with the associated starter project.

You may also use assets that you are able to obtain from other sources such as, for example, Unity's Asset Store. If you use third party assets, make sure you credit the original creator in your project's README file.

Below are step-by-step guidelines to creating a beautiful VR apartment. Make sure you review the earlier course materials if you are uncertain how to do these steps.

Also, before you start working on your project, it's a good idea to familiarize yourself with the Project Rubric so you are awere of all the requirements that apply to your final project.

Download the Starter Project

  • Click here to download the Build an Apartment Starter Project
    • The downloaded zip file contains a repository named vrnd-build-an-apartment-starter-project with the version number appended to the end of the name.
    • The repository contains a README file with important information about the repository and a Unity project named Build an Apartment.
  • Unzip the repository to a convenient location on your computer.
  • Read the README file.
  • Rename the repository to reflect that it is now your repository, for example, vrnd-build-an-apartment-by-firstname-lastname.
  • Open up the Unity project named Build an Apartment and load the scene named Build an Apartment located in the folder Assets > UdacityVR > Scenes.
    • You will now see an empty apartment with just a floor, ceiling, some walls, windows, and a door.

Add Models to the Empty Apartment

  • Add at least 15 new models to the apartment.
    • Use the prefabs found at Assets > UdacityVR > Art > Prefabs > Props.
    • Use lots of models and make it detailed, however, you probably should not add more than 50 models because it will likely be too much for your phone.

Add VR Functionality

  • Add Cardboard functionality to your scene.

Test Deploy to Your Phone.

  • Adjust the Player Settings and Quality Settings and do at test deployment to your phone to make sure the core functionality is working as expected.

Add Lights

  • Light the scene with some area lights, spotlights, and one directional light (for the sun).
    • Make sure all lights are set to Baked and not Realtime.
    • Make sure all gameobjects and lights are flagged as Static.
    • Bake the lighting.
    • Test deploy again.

Create an Animated Globe

  • Create a sphere primitive and name it Globe.
    • The Globe should not be flagged as Static because it needs to move during game play.
  • Create a material for the Globe.
    • Use the Mobile/Diffuse shader and the GlobeTexture.png texture located at Assets > UdacityVR > Art > Textures.
  • Assign the material to the Globe.
  • Create an animation that rotates the Globe 360 degrees.
    • To keep the Globe tilted while animating, you can create an empty parent gameobject. Then tilt the parent (around 25 degrees) and animate the rotation around the Globe's Y axis.
  • Create a trigger in the animator that starts/stops the animation any time it is activated.
    • Use the provided TriggerAnimation script to activate the trigger whenever the Cardboard button is pressed (or the screen touched).

Update the README File

  • Your project submission must include the README file that came with the starter project.
  • When you submit your project, the README file should still be located at the top level of the repository (i.e. folder directory), exactly like it did when you downloaded the starter project.
  • Please take a moment to reflect on your experience with this project by appending a note to the end of the README, for example:
    • How long it took to complete the project.
    • One thing you liked about the project.
    • One thing that was particularly challenging about the project.

Time to submit your project!